package cate.game.role.pvp.pointrace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPointRace;
import cate.game.role.pvp.PvpRecord;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@ClientMsg(title = "大师风采 返回")
public class PointRaceRecordResp implements MsgOutput {

    @NoteField(value = "大师风采录像")
    public List<PvpRecord> records;

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.RECORD_RESP;
    }

    public PointRaceRecordResp(List<PvpRecord> records) {
        this.records = records;
    }
}
